package com.sc.nft.service;

import com.sc.nft.entity.EcologyPoolPrize;
import com.sc.nft.enums.EcologyPoolLinkTypeEnum;
import com.sc.nft.enums.EcologyPoolPrizeBindTypeEnum;

import java.util.List;
import java.util.Map;

/**
 * @author 刘国航
 * @since 2024/8/10 17:22
 */
public interface EcologyPoolPrizeService {

    void reducePrize(EcologyPoolPrize ecologyPoolPrize);

    void savePrize(EcologyPoolPrize prize);

    EcologyPoolPrize getEcologyPoolPrizeByBindId(Long bindId, EcologyPoolPrizeBindTypeEnum ecologyPoolPrizeBindTypeEnum, EcologyPoolLinkTypeEnum ecologyPoolLinkTypeEnum);

    Map<Long, EcologyPoolPrize> listPrizeByIdsToMap(List<Long> ids, EcologyPoolPrizeBindTypeEnum ecologyPoolPrizeBindTypeEnum, EcologyPoolLinkTypeEnum ecologyPoolLinkTypeEnum);
}
